﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomNet.Core.Data;
using TomNet.IMSC.Model.Infrastructure;

namespace TomNet.IMSC.Model.DbModels.NewHouse
{
    /// <summary>
    /// 佣金等级表
    /// </summary>
    public class BuildingsBrokerageLevel : EntityBase<int>
    {
        /// <summary>
        /// 佣金分组ID
        /// </summary>
        public int BuildingsBrokerageGroupID { get; set; }
        /// <summary>
        /// 佣金类别ID
        /// </summary>
        public int BrokerageTypeID { get; set; }
        /// <summary>
        /// 完成业绩
        /// </summary>
        public int Achievement { get; set; }
        /// <summary>
        /// 提成
        /// </summary>
        [Column(TypeName = "money")]
        public decimal Percentage { get; set; }
        /// <summary>
        /// 奖金
        /// </summary>
        public int Award { get; set; }
    }
}
